package com.feb.bitmianshi.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feb.bitmianshi.model.dto.mockinterview.MockInterviewAddRequest;
import com.feb.bitmianshi.model.dto.mockinterview.MockInterviewEventRequest;
import com.feb.bitmianshi.model.dto.mockinterview.MockInterviewQueryRequest;
import com.feb.bitmianshi.model.entity.MockInterview;
import com.feb.bitmianshi.model.entity.User;

/**
* @author Feb
* @description 针对表【mock_interview(模拟面试)】的数据库操作Service
* @createDate 2025-04-11 17:41:55
*/
public interface MockInterviewService extends IService<MockInterview> {

    /**
     * 创建模拟面试
     */
    Long createMockInterview(MockInterviewAddRequest mockInterviewAddRequest, User loginUser);

    /**
     * 构造查询条件
     *
     * @param mockInterviewQueryRequest
     * @return
     */
    QueryWrapper<MockInterview> getQueryWrapper(MockInterviewQueryRequest mockInterviewQueryRequest);

    /**
     * 处理模拟面试事件
     * @param mockInterviewEventRequest
     * @return
     */
    String handleMockInterviewEvent(MockInterviewEventRequest mockInterviewEventRequest,User loginUser);



}
